.banner {
  height: 500px;
  background-color: #f5f5f5;
}
.banner .wrapper {
  position: relative;
  width: 1240px;
  height: 500px;
  overflow: hidden;
}
.banner .wrapper .pic {
  display: flex;
  width: 3720px;
}
/* 侧导航 */
.subnav {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.42);
}

.subnav li {
  display: flex;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 12px;
  height: 50px;
  /* background-color: pink; */
  line-height: 50px;
  color: #fff;

  cursor: pointer;
}

/* a所有都是小字，分类是大字 */
.subnav li a {
  margin-right: 5px;
  font-size: 14px;
  color: #fff;
}

.subnav li .classify {
  margin-right: 14px;
  font-size: 16px;
}

.subnav li .iconfont {
  font-size: 14px;
}

.subnav li:hover {
  background-color: #00be9a;
}
/* 圆点指示器 */
.banner ol {
  display: flex;
  position: absolute;
  bottom: 17px;
  right: 20px;
}
.banner ol li {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-left: 8px;
}
.banner ol li i {
  display: block;
  margin: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
}
.banner ol li.current {
  background-color: rgba(255, 255, 255, 0.5);
}
.banner ol li.current i {
  background-color: #fff;
}
/* 新鲜好物 */
.fresh {
  width: 1240px;
  margin-top: 40px;
}
.fresh .title {
  display: flex;
  margin-bottom: 30px;
  line-height: 42px;
}
.fresh .title .left {
  display: flex;
}
.fresh .title .left p:first-child {
  font-size: 30px;
  margin-right: 35px;
}
.fresh .title .left p:last-child {
  color: #a1a1a1;
}
.title .right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.title .right a {
  color: #a1a1a1;
}
.title .right a span {
  margin-left: 10px;
}
/* 商品 */
.goods ul {
  display: flex;
}
.goods ul li {
  margin-right: 8px;
}
.goods ul li {
  width: 304px;
  height: 404px;
  background: #eef9f4;
  text-align: center;
  font-size: 20px;
}
.goods ul li img {
  width: 304px;
  height: 304px;
}
.goods ul li p {
  margin: 8px 0;
}
.goods ul li p:last-child {
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 31px;
  color: #aa2113;
}
/* 人气推荐 */
.recommend {
  margin-top: 40px;
}
.recommend .title {
  display: flex;
  margin-bottom: 30px;
  line-height: 42px;
}
.recommend .title .left {
  display: flex;
}
.recommend .title .left h3 {
  font-size: 30px;
  margin-right: 35px;
}
.recommend .title .left p {
  color: #a1a1a1;
}
.recommend .bd {
  height: 405px;
}
.recommend ul {
  display: flex;
}
.recommend ul li {
  width: 304px;
  height: 305px;
  margin-right: 8px;
}
.recommend .txt {
  margin-top: 17.5px;
  text-align: center;
}
.recommend .txt h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.recommend .txt p {
  color: #a1a1a1;
}
/* 人气推荐 */
.brand .button a {
  margin-left: 12px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #fff;
}
/* 热门品牌 */
.brand {
  margin-top: 77px;
  height: 468px;
  background-color: #f5f5f5;
}
.brand .wrapper {
  overflow: hidden;
  height: 468px;
}
.brand .title {
  display: flex;
  margin-bottom: 40px;
  margin-top: 40px;
}
.brand .title .left {
  display: flex;
  align-items: center;
}
.brand .title .left h3 {
  font-size: 30px;
  margin-right: 35px;
}
.brand .title .left p {
  color: #a1a1a1;
}
.brand .button {
  display: flex;
  position: absolute;
  right: 0;
  bottom: -25px;
}
.brand .button .prev {
  background-color: #ddd;
}
.brand .button .next {
  background-color: #00be9a;
}
.brand .bd ul {
  width: 1240px;
  display: flex;
}
.brand .bd li {
  width: 244px;
  height: 306px;
  margin-right: 5px;
}
/* 生鲜 */
.fresh .title {
  margin-top: 60px;
  margin-bottom: 20px;
}
.title .left {
  font-size: 30px;
}
.title .right {
  display: flex;
}
.title .right ul {
  display: flex;
  margin-top: 10px;
  margin-right: 58px;
}
.title .right ul a {
  display: block;
  margin-left: 6px;
  padding: 0 7px;
  height: 20px;
  line-height: 20px;
}
.title .right ul .active {
  background-color: #00be9a;
  color: #fff;
}
/* 内容 */
.content {
  display: flex;
  justify-content: space-between;
}
.content .left {
  width: 248px;
  height: 610px;
}
.content .right {
  width: 968px;
  height: 610px;
}
.content .right ul {
  display: flex;
  flex-wrap: wrap;
}
.content .right li {
  position: relative;
  padding: 10px 21px;
  width: 242px;
  height: 305px;
  overflow: hidden;
}
.content .right li .pic {
  width: 190px;
  height: 180px;
}
.content .right .price {
  color: #af2f22;
  line-height: 31px;
  margin-top: 7px;
}
.content .right .price span {
  font-size: 22px;
  margin-left: 5px;
}
/*  */
.content .right li:hover {
  border: 2px solid rgba(0, 190, 154, 1);
}
.content .right li .cover {
  position: absolute;
  top: 400px;
  left: 0;
  width: 242px;
  height: 83.5px;
  background-color: #00be9a;
  transition: all 0.3s;
}
.content .right li:hover .cover {
  top: 220.5px;
}
.content .right .cover p {
  font-size: 18px;
  color: #fff;
  text-align: center;
}
.content .right .cover p {
  font-size: 18px;
  color: #fff;
  text-align: center;
}
.content .right .cover p:first-child {
  font-size: 18px;
  padding-top: 15px;
  padding-bottom: 10px;
}
.content .right .cover p:last-child {
  font-size: 13px;
  padding-bottom: 14px;
}
.content .right .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 242px;
  height: 305px;
}
/* 最新专题 */
.topic {
  margin-bottom: 40px;
}
.topic .title {
  margin-top: 100px;
}
.topic .title .left h3 {
  font-size: 30px;
}
.topic .title .right {
  color: #a1a1a1;
  margin-bottom: 40px;
}
.topic-bd ul {
  display: flex;
  justify-content: space-between;
}
.topic-bd li {
  width: 405px;
  height: 355px;
}
.topic-bd ul {
  display: flex;
  justify-content: space-between;
}
.topic-bd li {
  width: 405px;
  height: 355px;
}
.topic-bd .pic {
  position: relative;
  width: 405px;
  height: 288px;
}
.topic-bd .txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 405px;
  height: 67px;
  /* background-color: skyblue; */
  font-size: 14px;
  color: #666;
}
.topic-bd .txt .left {
  display: flex;
}
.topic-bd .txt .left p {
  margin-right: 20px;
}
.topic-bd .txt .left p:nth-child(1) i {
  color: #aa2113;
}
/* 定位区域 - 文字 */
.topic-bd .cover {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 405px;
  height: 90px;
  background-image: linear-gradient(180deg, rgba(137,137,137,0.00) 0%, rgba(0,0,0,0.90) 100%);
}
.topic-bd .cover .left {
  color: #fff;
}
.topic-bd .cover .left h4 {
  margin-bottom: 6px;
  font-size: 20px;
}
.topic-bd .cover .right {
  padding: 0 7px;
  height: 25px;
  background-color: #fff;
  color: #AA2113;
  font-size: 15px;
}
.topic-bd .cover .right span {
  font-size: 18px;
}
